package com.ftg.mall.base.entity.pms;

import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import com.ftg.mall.base.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 产品阶梯价格表(只针对同商品)
 * </p>
 *
 * @author wangty
 * @since 2022-11-15
 */
@TableName("pms_product_ladder")
@Data
@ApiModel(value = "ProductLadder对象", description = "产品阶梯价格表(只针对同商品)")
public class ProductLadder extends BaseEntity {

    @ApiModelProperty("商品编号")
    private Long productId;

    @ApiModelProperty("满足的商品数量")
    private Integer count;

    @ApiModelProperty("折扣")
    private BigDecimal discount;

    @ApiModelProperty("折后价格")
    private BigDecimal price;

}
